<!DOCTYPE html>

<html class="no-js">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <title></title>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <script src="https://cdn.bootcss.com/vue/2.5.17/vue.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/index.js"></script>
  <script src="https://cdn.bootcss.com/echarts/4.2.1-rc1/echarts.min.js"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.4.11/theme-chalk/index.css" />
  <link rel="stylesheet" href="../../../lib/index.css" />
  <script src="../../../lib/avue.js"></script>

</head>

<body>
  <div id="app">
    <avue-echart-pictorialBar :option='option' :data="data"></avue-echart-pictorialBar>

  </div>
</body>
<script>
  new Vue({
    el: '#app',
    data() {
      return {
        option: {
          symbolSize: 30,
          split: 30,
          fontSize: '24',
          xAxisShow: false,
          yAxisShow: true,
          color: '#4dffff',
          nameColor: '#564AA3',
          xNameFontSize: '24',
          yNameFontSize: '24'
        },

        data: [{
            "name": "PC",
            "value": 97,
            "url": "http://www.baidu.com"
          },
          {
            "name": "iOS",
            "value": 50,
            "url": "http://www.baidu.com"
          },
          {
            "name": "Android",
            "value": 59,
            "url": "http://www.baidu.com"
          },
          {
            "name": "windows phone",
            "value": 29
          },
          {
            "name": "Black berry",
            "value": 3
          },
          {
            "name": "Nokia S60",
            "value": 2
          },
          {
            "name": "Nokia S90",
            "value": 1
          }
        ]

      }
    }
  })

</script>

</html>
